package com.iwinding.ladygg.net.response;

import android.text.TextUtils;

/**
 * Created by hezhiyong on 2017/3/24.
 */

public class LoginRp {

    public String uname;//用户名
    public String userId;//用户id   极光别名：icane_+userId   环信uname：userId
    public String mobile;//手机号
    public String name;//姓名
    public String groupId;//
    public String passwrod;//密码
    public String headImg;//
    public String nickName;//昵称
    public String isBindingPhone;////是否绑定手机(1:是，0：否)

    public String getName(){
        return TextUtils.isEmpty(nickName)?
                (TextUtils.isEmpty(name)?
                        (TextUtils.isEmpty(uname)?"":uname):name):nickName;
    }

}
